<ion-popover-view class="popover comment">

    <form name="myForm" novalidate="" ng-submit="submit_comment(myForm)">
        <label class="item item-input">
            <textarea name="title" ng-model="data.comment" type="text" placeholder="说两句吧..."
                   required maxlength="250" rows="5"
                   ng-model-options="{ updateOn: 'default blur', debounce: { default: 500, blur: 0 } }"/>
        </label>
        <button class="button button-block button-balanced" ng-disabled="myForm.$invalid" type="submit">
            发表
        </button>
    </form>
</ion-popover-view>
